package com.ruijiang.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.time.LocalDateTime;

@Data
public class Order {

    String id;

    String orderNo;

    String thirdNo;

    String innerCode;

    String skuId;

    String skuName;

    Integer classId;

    Integer status;

    Integer amount;

    Integer price;

    String payType;

    Integer payStatus;

    Integer bill;

    String addr;

    String regionId;

    Integer businessId;

    String businessName;

    Integer ownerId;

    String openId;

    String nodeId;

    String nodeName;

    String cancel_desc;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    LocalDateTime createTime;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    LocalDateTime updateTime;
}
